package uoc.ei.practica;

/**
 * Clase que representa una letra de una partida
 */
public class LetterGame {
	
	private Letter letter;
	private int count;
	
	public LetterGame(Letter letter) {
		this.letter=letter;
		this.count=1;
	}
	
	public void inc() {
		this.count++;
	}

	public boolean is(String letter) {
		return this.letter.is(letter);
	}
	
	public int count() {
		return this.count;
	}

}
